<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>操作成功提示页</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/layui/2.5.7/css/layui.min.css">
    <style>
        .success-page {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #f2f2f2;
        }

        .success-container {
            padding: 20px;
            text-align: center;
            background-color: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }

        .success-icon {
            font-size: 100px;
            color: #5FB878;
            margin-bottom: 20px;
        }

        .success-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .success-message {
            font-size: 16px;
            color: #999;
            margin-bottom: 20px;
        }

        .success-action {
            margin-top: 20px;
        }

        .success-action .layui-btn {
            margin-right: 10px;
        }
    </style>
</head>
<body>
    <div class="success-page">
        <div class="success-container">
            <div class="success-icon layui-icon layui-icon-ok-circle"></div>
            <div class="success-title">操作成功！</div>
            <div class="success-message">您的操作已成功完成。</div>
            <div class="success-action">
                <button class="layui-btn layui-btn-primary layui-btn-lg" onclick="location.href='/'">返回首页</button>
                <button class="layui-btn layui-btn-lg" onclick="location.href='{$url}'">{$url_title ?? "回首页"}</button>
            </div>
        </div>
    </div>
    <script src="https://cdn.staticfile.org/layui/2.5.7/layui.min.js"></script>
    <script>
        // 3秒后跳转至新页面
    setTimeout(function() {
        location.href = '{$url}';
    }, 3000);
    </script>
</body>
</html>
